<?php

class Application_Form_Mappointer extends Zend_Form
{

    public function init()
    {
    	$this->setName("hafen");
    	$this->setMethod('post');
    	
    	$sucheland = new Zend_Form_Element_Text('land');
    	$sucheland->setLabel('Suche: Land')
    		-> setAttrib ('onChange', 'javascript:setGeo('. $sucheland->getName() .');'
    	);
    	 
    	$suchestadt = new Zend_Form_Element_Text('stadt');
    	$suchestadt->setLabel('Suche: Stadt')
    		-> setAttrib ('onChange', 'javascript:setGeo('. $suchestadt->getName() .');
    	');
    	
    	$this
    		->addElement($sucheland)
    		->addElement($suchestadt);
    }


}

